from selenium import webdriver
import time
browser = webdriver.Chrome()
browser.get('https://www.baidu.com/')
browser.get('https://www.taobao.com/')
browser.get('http://www.runoob.com/')
browser.back()#淘宝
time.sleep(3)
browser.forward()#菜鸟
browser.close()